package com.chris.core.socket.nio.dto;

import java.net.Socket;
import java.nio.channels.SocketChannel;

/**
 * SocketChannel 集合
 */
public class SocketChannelMapDTO {
    private String cid="";
    private String name ="";
    private SocketChannel socketChannel = null;

    public SocketChannelMapDTO(String cid, SocketChannel socketChannel)
    {
        this.cid=cid;
        this.socketChannel=socketChannel;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public SocketChannel getSocketChannel() {
        return socketChannel;
    }

    public void setSocketChannel(SocketChannel socketChannel) {
        this.socketChannel = socketChannel;
    }
}
